#pragma once
#include <vector>
#include<graphics.h>
class Atlas
{
public:
	Atlas()=default;
	~Atlas() = default;

	void load_from_file(LPCTSTR path_template, int num);

	inline void clear() {img_list.clear();}
	inline int getsize() { return (int)img_list.size(); }

	IMAGE* get_image(int index);
	void add_image(const IMAGE& img);
	
private:
	std::vector<IMAGE> img_list;
};

